package com.belazy.basics.auth.service;

import com.belazy.basics.auth.model.from.LoginFrom;
import com.belazy.basics.auth.model.vo.LoginVo;
import com.belazy.library.model.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * @author tangcp
 */
public interface IAuthService {
    Result<Boolean> logout(String token);
    Result<LoginVo> login(LoginFrom in, HttpServletRequest request);
}
